#ifndef NET_SERVICE_H_
#define NET_SERVICE_H_

#include "iservice.h"

#include "epollreactor.h"
#include "timermanager.h"
#include "socketmanager.h"

namespace net {

class Service : public IService {
public:
    Service();
    virtual ~Service();

private:
    virtual IReactor* GetReactorService();
    virtual ITimerManager* GetTimerService();
    virtual ISocketManager* GetSocketService();

private:
    EpollReactor reacoter_;
    TimerManager timerManager_;
    SocketManager socketManager_;
};

}

#endif
